<?php
$id = $_POST["id"];

	include ("dbconfig.php");
	
	$id =  mysql_real_escape_string($id);
	
	$query = <<<END
	UPDATE `hestia`.`pickups2` SET `reserved`='reserved' WHERE `idpickup`='$id';
END;
	mysql_query ( $query, $connection );

?>